Platform Explorer / Nuxeo Platform 6.0

Component org.nuxeo.ecm.platform.categorization.defaultLanguageCategorizer

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.categorization.defaultLanguageCategorizer" version="1.0.0">

  <extension target="org.nuxeo.ecm.platform.categorization.service.DocumentCategorizationService"
    point="categorizers">

    <documentation>
      Default categorizers to guess dc:language.
    </documentation>

    <categorizer name="dc:language" property="dc:language"
     factory="org.nuxeo.ecm.platform.categorization.categorizer.LanguageCategorizerFactory"
     enabled="true">
     <skip>
      <facet name="Folderish" />
     </skip>
     <mapping>
       <outcome name="german">de</outcome>
       <outcome name="english">en</outcome>
       <outcome name="french">fr</outcome>
       <outcome name="spanish">sp</outcome>
       <outcome name="italian">it</outcome>
     </mapping>
   </categorizer>

  </extension>

</component>